@extends('admin.common.list.list')
@section('content')
	<div class="mws-panel grid_8">
    <div class="mws-panel-header">
        <span><i class="icon-table"></i> 修改用户
    </div>
    <div class="mws-panel-body no-padding">
        <form class="mws-form" action="/admin/user/{{ $data['id'] }}" method="post">
            {{ csrf_field() }}
            <input type="hidden" name="_method" value="put">
            <div class="mws-form-inline">
                <div class="mws-form-row">
                    <label class="mws-form-label">用户名</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="u_name" id="u_name" value="{{ $data['u_name'] }}">
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">邮箱</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="u_email" value="{{ $data['u_email'] }}">
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">联系电话</label>
                    <div class="mws-form-item">
                        <input type="number" class="small" name="u_phone" value="{{ $data['u_phone'] }}">
                    </div>
                </div>
            </div>
            <div class="mws-button-row">
                <input type="submit" value="修改" class="btn btn-danger">
                <input type="reset" value="重置" class="btn ">
            </div>
        </form>
    </div>      
</div>
@endsection